package com.zerdoor.service;

import java.util.List;
import java.util.Map;

/**
 * Created by xiaoji on 2015/2/2.
 */
public interface RbacOperatingService {

    /**
     * 获取操作码
     * @param map 操作查询条件
     * @return
     */
    public List<Map<String,Object>> getRbacOperating(Map<String,Object> map);

    /**
     * 添加操作码
     * @param map
     * @throws Exception
     */
    public void addRbacOperating(Map<String,Object> map)throws Exception;

    /**
     * 修改操作码
     * @param map
     * @throws Exception
     */
    public void updateRbacOperating(Map<String,Object> map)throws Exception;

    /**
     * 编辑操作码
     * @param opId
     * @throws Exception
     */
    public void deleteRbacOperating(int opId)throws Exception;
}
